﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZBJF.Warranty.Common.Enums.SocketEnum;

namespace ZBJF.Warranty.Model.ViewModel.SocketModel
{
    public class SocketMessageInfoModel<T>
    {
        public SocketMessageInfoModel(ResponseMessageTypeEnum messageType, T model)
        {
            this.MessageType = messageType;
            this.Model = model;
        }
        /// <summary>
        /// 消息类型
        /// </summary>
        public ResponseMessageTypeEnum MessageType { get; set; }
        /// <summary>
        /// 消息体：
        /// </summary>
        public T Model { get; set; }
    }
}